package com.leyou;

import com.leyou.auth.anotation.EnableJwtVerification;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;


@SpringBootApplication(scanBasePackages = {"com.leyou.trade", "com.leyou.common.advice"})
@EnableJwtVerification
@EnableFeignClients
@MapperScan("com.leyou.trade.mapper")
//@EnableScheduling//开启定时任务支持
public class LyTradeApplication {
    public static void main(String[] args) {
        SpringApplication.run(LyTradeApplication.class, args);
        System.out.println("trade服务启动");
    }
}